[INFO] cloning repository https://github.com/yhnu/tcpdemo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yhnu/tcpdemo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyhnu%2Ftcpdemo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyhnu%2Ftcpdemo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 86bff710aafbed14d2b1a4e6a54fc8965b70c543
[INFO] checking yhnu/tcpdemo against master#98e1f041b6e33598a18edb928ec9db93a850c6cb for pr-101680
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyhnu%2Ftcpdemo" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/yhnu/tcpdemo on toolchain 98e1f041b6e33598a18edb928ec9db93a850c6cb
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/yhnu/tcpdemo
[INFO] finished tweaking git repo https://github.com/yhnu/tcpdemo
[INFO] tweaked toml for git repo https://github.com/yhnu/tcpdemo written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/yhnu/tcpdemo already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded prost-derive v0.10.0
[INFO] [stderr]   Downloaded prost-types v0.10.0
[INFO] [stderr]   Downloaded prost v0.10.0
[INFO] [stderr]   Downloaded prost-build v0.10.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4bfe6ddce88ff36df4f667db41f9235b753075a4bcb2cabd75ff15189a16dced
[INFO] running `Command { std: "docker" "start" "-a" "4bfe6ddce88ff36df4f667db41f9235b753075a4bcb2cabd75ff15189a16dced", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4bfe6ddce88ff36df4f667db41f9235b753075a4bcb2cabd75ff15189a16dced", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4bfe6ddce88ff36df4f667db41f9235b753075a4bcb2cabd75ff15189a16dced", kill_on_drop: false }`
[INFO] [stdout] 4bfe6ddce88ff36df4f667db41f9235b753075a4bcb2cabd75ff15189a16dced
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 50256788fd72f5e8101a211bf5c4ad506bd99526249a485dd2b5bd77cd9261dc
[INFO] running `Command { std: "docker" "start" "-a" "50256788fd72f5e8101a211bf5c4ad506bd99526249a485dd2b5bd77cd9261dc", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling anyhow v1.0.56
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling libc v0.2.122
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling fixedbitset v0.4.1
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling cmake v0.1.48
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]    Compiling quote v1.0.17
[INFO] [stderr]    Compiling regex v1.5.5
[INFO] [stderr]    Compiling petgraph v0.6.0
[INFO] [stderr]    Compiling which v4.2.5
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]    Compiling prost-build v0.10.0
[INFO] [stderr]    Compiling prost-derive v0.10.0
[INFO] [stderr]    Compiling prost v0.10.0
[INFO] [stderr]    Compiling prost-types v0.10.0
[INFO] [stderr]    Compiling tcpdemo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `TryRecvError`
[INFO] [stdout]  --> src/main.rs:3:41
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::mpsc::{Sender, Receiver, TryRecvError};
[INFO] [stdout]   |                                         ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TryRecvError`
[INFO] [stdout]  --> src/main.rs:3:41
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::mpsc::{Sender, Receiver, TryRecvError};
[INFO] [stdout]   |                                         ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `self`
[INFO] [stdout]    --> src/main.rs:114:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |     pub fn start_threads(&mut self, rx :Receiver<Vec<u8>>) {
[INFO] [stdout]     |                          --------- move occurs because `self` has type `&mut MessageStreamConnection`, which does not implement the `Copy` trait
[INFO] [stdout] 113 |         let stop = self.stop.clone();
[INFO] [stdout] 114 |         self.handle = Some(thread::spawn(move || {
[INFO] [stdout]     |         ^^^^^^^^^^^                      ------- value moved into closure here
[INFO] [stdout]     |         |
[INFO] [stdout]     |         value used here after move
[INFO] [stdout] ...
[INFO] [stdout] 125 |                         self.conn.send(&len);
[INFO] [stdout]     |                         --------- variable moved due to use in closure
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0521]: borrowed data escapes outside of associated function
[INFO] [stdout]    --> src/main.rs:114:28
[INFO] [stdout]     |
[INFO] [stdout] 112 |       pub fn start_threads(&mut self, rx :Receiver<Vec<u8>>) {
[INFO] [stdout]     |                            ---------
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            `self` is a reference that is only valid in the associated function body
[INFO] [stdout]     |                            let's call the lifetime of this reference `'1`
[INFO] [stdout] 113 |           let stop = self.stop.clone();
[INFO] [stdout] 114 |           self.handle = Some(thread::spawn(move || {
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 115 | |             // some work here
[INFO] [stdout] 116 | |             loop {
[INFO] [stdout] 117 | |                 if !stop.load(Ordering::SeqCst) {
[INFO] [stdout] ...   |
[INFO] [stdout] 131 | |             }
[INFO] [stdout] 132 | |         }));
[INFO] [stdout]     | |          ^
[INFO] [stdout]     | |          |
[INFO] [stdout]     | |__________`self` escapes the associated function body here
[INFO] [stdout]     |            argument requires that `'1` must outlive `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `self`
[INFO] [stdout]    --> src/main.rs:114:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |     pub fn start_threads(&mut self, rx :Receiver<Vec<u8>>) {
[INFO] [stdout]     |                          --------- move occurs because `self` has type `&mut MessageStreamConnection`, which does not implement the `Copy` trait
[INFO] [stdout] 113 |         let stop = self.stop.clone();
[INFO] [stdout] 114 |         self.handle = Some(thread::spawn(move || {
[INFO] [stdout]     |         ^^^^^^^^^^^                      ------- value moved into closure here
[INFO] [stdout]     |         |
[INFO] [stdout]     |         value used here after move
[INFO] [stdout] ...
[INFO] [stdout] 125 |                         self.conn.send(&len);
[INFO] [stdout]     |                         --------- variable moved due to use in closure
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0521.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stdout] error[E0521]: borrowed data escapes outside of associated function
[INFO] [stdout]    --> src/main.rs:114:28
[INFO] [stdout]     |
[INFO] [stdout] 112 |       pub fn start_threads(&mut self, rx :Receiver<Vec<u8>>) {
[INFO] [stdout]     |                            ---------
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            `self` is a reference that is only valid in the associated function body
[INFO] [stdout]     |                            let's call the lifetime of this reference `'1`
[INFO] [stdout] 113 |           let stop = self.stop.clone();
[INFO] [stdout] 114 |           self.handle = Some(thread::spawn(move || {
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 115 | |             // some work here
[INFO] [stdout] 116 | |             loop {
[INFO] [stdout] 117 | |                 if !stop.load(Ordering::SeqCst) {
[INFO] [stdout] ...   |
[INFO] [stdout] 131 | |             }
[INFO] [stdout] 132 | |         }));
[INFO] [stdout]     | |          ^
[INFO] [stdout]     | |          |
[INFO] [stdout]     | |__________`self` escapes the associated function body here
[INFO] [stdout]     |            argument requires that `'1` must outlive `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0521.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tcpdemo` due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `tcpdemo` due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "50256788fd72f5e8101a211bf5c4ad506bd99526249a485dd2b5bd77cd9261dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "50256788fd72f5e8101a211bf5c4ad506bd99526249a485dd2b5bd77cd9261dc", kill_on_drop: false }`
[INFO] [stdout] 50256788fd72f5e8101a211bf5c4ad506bd99526249a485dd2b5bd77cd9261dc
